package com.wanma.recuit.pojo;

import java.io.Serializable;
import java.util.Date;

public class WorkExperience implements Serializable {
    /**
	* 工作经历的id
	*/
    private Integer id;

    /**
	* 简历的id
	*/
    private Integer recuitId;

    /**
	* 曾在职公司的名称
	*/
    private String companyName;

    /**
	* 所属行业的id（一级分类）
	*/
    private Industry industry;

    /**
	* 职位名称
	*/
    private String positionName;

    /**
	* 入职时间
	*/
    private Date entryTime;

    /**
	* 离职时间
	*/
    private Date resignTime;

    /**
	* 薪资范围的id
	*/
    private Dictionary salary;

    /**
	* 工作描述
	*/
    private String jobDescription;

    /**
	* 排序
	*/
    private Integer sort;

    /**
	* 是否删除
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRecuitId() {
        return recuitId;
    }

    public void setRecuitId(Integer recuitId) {
        this.recuitId = recuitId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Industry getIndustry() {
        return industry;
    }

    public void setIndustry(Industry industry) {
        this.industry = industry;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public Date getResignTime() {
        return resignTime;
    }

    public void setResignTime(Date resignTime) {
        this.resignTime = resignTime;
    }

    public Dictionary getSalary() {
        return salary;
    }

    public void setSalary(Dictionary salary) {
        this.salary = salary;
    }

    public String getJobDescription() {
        return jobDescription;
    }

    public void setJobDescription(String jobDescription) {
        this.jobDescription = jobDescription;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", recuitId=").append(recuitId);
        sb.append(", companyName=").append(companyName);
        sb.append(", industry=").append(industry);
        sb.append(", positionName=").append(positionName);
        sb.append(", entryTime=").append(entryTime);
        sb.append(", resignTime=").append(resignTime);
        sb.append(", salary=").append(salary);
        sb.append(", jobDescription=").append(jobDescription);
        sb.append(", sort=").append(sort);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}